package com.jwsoft.manager.common.enums;
/**
 * @author lvxk
 * @date 2022-03-10
 * @description
 **/
public enum VerificationTypeEnum {
    yzb("1","原住民房户一致"),
    fwq("2","服务区房户一致"),
    fhyz("3","正学区房户一致"),
    qzgx("4","亲子关系"),
    fc("5","房产有效性"),
    hj("6","户籍有效性"),
    hjdz("12","户籍地址学区核验"),
    fcdz("13","房产地址学区核验"),
    fwqfc("7","服务区房产有效性"),
    fwqhj("8","服务区户籍有效性"),
    sb("9","社保有效性"),
    jzz("10","居住证有效性"),
    fwqyzb("11","服务区原住民房户一致"),
    hyxz("14","核验集体户挂靠户"),
    yhwfsqnyf("15","有户无房但市区内有房"),
    fcbl("16","房产比例核验");

    private String type;
    private String name;

    VerificationTypeEnum(String type, String name) {
        this.type = type;
        this.name = name;
    }

    public String getType() {
        return this.type;
    }

    public String getName() {
        return this.name;
    }

    public static VerificationTypeEnum getByType(String type) {

        for (VerificationTypeEnum typeEnum : values()) {
            if (typeEnum.getType().equals(type)) {
                return typeEnum;
            }
        }
        return null;
    }
}
